a5ecea0051a1b1c63a33bb4bb6d8d2d553579f18,portal-impl/src/com/liferay/documentlibrary/util/JCRHook.java,JCRHook,getFileAsStream,#number#number#String#String#,450
Before Change
Binary binary = value.getBinary();
is = new UnsyncBufferedInputStream(binary.getStream());
}
catch (RepositoryException re) {
throw new SystemException(re);
}
finally {
if (session != null) {
session.logout();
}
}
return is;
}
public String[] getFileNames(
After Change
Binary binary = value.getBinary();
return binary.getStream();
}
catch (RepositoryException re) {
throw new SystemException(re);